import request from "../utils/request"

// 获取全局list数据
export function getPageList(hasRecord=1,type=undefined) {
    var params = {hasRecord:hasRecord}
  (type!==undefined)?params['type']=type:'';
    return request({
        url:'fetchData',
        methods:'GET',
        params:params
    })
}